package eu.szemraj.net {
    import flash.events.ErrorEvent;    
    import flash.events.Event;
    
    public class ServiceErrorEvent extends Event {

		public static const CONNECTION_ERROR:String = "connectionError";
        private var errorEvent:ErrorEvent;

        public function ServiceErrorEvent(type:String, errorEvent:ErrorEvent, bubbles:Boolean = false, cancelable:Boolean = false) {
        	
            super( type, bubbles, cancelable );
            this.errorEvent = errorEvent;

        }

        override public function clone():Event {
        	
            return new ServiceErrorEvent( type, errorEvent, bubbles, cancelable );
        }
    }
}
